package org.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.demo.entity.Community;
import org.demo.entity.Contract;
import org.demo.entity.ContractDto;

import java.util.List;

@Mapper
public interface ContractMapper extends BaseMapper<Contract> {


    void add(@Param("param") Contract contract);

    Contract selectChong(@Param("param") Contract contract);
    List<ContractDto> AllFee(@Param("param") Contract contract);

    List<Contract> selectAll(@Param("param") Contract contract);
}
